﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PHMEE
{
    public class UnitGeneratorDieselMainModel
    {
        /// <summary>
        /// 增压器转速时间戳
        /// </summary>
        public DateTime? ChargerSpeedTs { get; set; }

        /// <summary>
        /// 增压器转速Td原始值
        /// </summary>
        public float? ChargerSpeedOrg { get; set; }

        /// <summary>
        /// 增压器转速
        /// </summary>
        public string ChargerSpeed => ChargerSpeedOrg?.ToString();

        /// <summary>
        /// 扫气压力时间戳
        /// </summary>
        public DateTime? ScavenPresTs { get; set; }

        /// <summary>
        /// 扫气压力原始值
        /// </summary>
        public float? ScavenPresOrg { get; set; }

        /// <summary>
        /// 扫气压力
        /// </summary>
        public string ScavenPres => ScavenPresOrg?.ToString();

        /// <summary>
        /// 机油进口压力时间戳
        /// </summary>
        public DateTime? LubeOilInPresMTs { get; set; }

        /// <summary>
        /// 机油进口压力原始值
        /// </summary>
        public float? LubeOilInPresMOrg { get; set; }

        /// <summary>
        /// 机油进口压力
        /// </summary>
        public string LubeOilInPresM => LubeOilInPresMOrg?.ToString();

        /// <summary>
        /// 机油进口温度时间戳
        /// </summary>
        public DateTime? LubeOilInTempMTs { get; set; }

        /// <summary>
        /// 机油进口温度原始值
        /// </summary>
        public float? LubeOilInTempMOrg { get; set; }

        /// <summary>
        /// 机油进口温度
        /// </summary>
        public string LubeOilInTempM => LubeOilInTempMOrg?.ToString();

        /// <summary>
        /// 排气温度时间戳
        /// </summary>
        public DateTime? ExhaustTempTTs { get; set; }

        /// <summary>
        /// 排气温度原始值
        /// </summary>
        public float? ExhaustTempTOrg { get; set; }

        /// <summary>
        /// 排气温度
        /// </summary>
        public string ExhaustTempT => ExhaustTempTOrg?.ToString();

        /// <summary>
        /// 前轴承温度时间戳
        /// </summary>
        public DateTime? FrontBearTempTs { get; set; }

        /// <summary>
        /// 前轴承温度原始值
        /// </summary>
        public float? FrontBearTempOrg { get; set; }

        /// <summary>
        /// 前轴承温度
        /// </summary>
        public string FrontBearTemp => FrontBearTempOrg?.ToString();

        /// <summary>
        /// 高温出口温度时间戳
        /// </summary>
        public DateTime? HighOutTempMTs { get; set; }

        /// <summary>
        /// 高温出口温度原始值
        /// </summary>
        public float? HighOutTempMOrg { get; set; }

        /// <summary>
        /// 高温出口温度
        /// </summary>
        public string HighOutTempM => HighOutTempMOrg?.ToString();

        /// <summary>
        /// 高温进口压力时间戳
        /// </summary>
        public DateTime? HighInPresMTs { get; set; }

        /// <summary>
        /// 高温进口压力原始值
        /// </summary>
        public float? HighInPresMOrg { get; set; }

        /// <summary>
        /// 高温进口压力
        /// </summary>
        public string HighInPresM => HighInPresMOrg?.ToString();

        /// <summary>
        /// 电压时间戳
        /// </summary>
        public DateTime? VoltageTs { get; set; }

        /// <summary>
        /// 电压原始值
        /// </summary>
        public float? VoltageOrg { get; set; }

        /// <summary>
        /// 电压
        /// </summary>
        public string Voltage => VoltageOrg?.ToString();

        /// <summary>
        /// 有功功率时间戳
        /// </summary>
        public DateTime? ActivePowerTs { get; set; }

        /// <summary>
        /// 有功功率原始值
        /// </summary>
        public float? ActivePowerOrg { get; set; }

        /// <summary>
        /// 有功功率
        /// </summary>
        public string ActivePower => ActivePowerOrg?.ToString();

        /// <summary>
        /// 无功功率时间戳
        /// </summary>
        public DateTime? InActivePowerTs { get; set; }

        /// <summary>
        /// 无功功率原始值
        /// </summary>
        public float? InActivePowerOrg { get; set; }

        /// <summary>
        /// 无功功率
        /// </summary>
        public string InActivePower => InActivePowerOrg?.ToString();

        /// <summary>
        /// 视在功率时间戳
        /// </summary>
        public DateTime? ApparentPowerTs { get; set; }

        /// <summary>
        /// 视在功率原始值
        /// </summary>
        public float? ApparentPowerOrg { get; set; }

        /// <summary>
        /// 视在功率
        /// </summary>
        public string ApparentPower => ApparentPowerOrg?.ToString();

        /// <summary>
        /// 功率因数时间戳
        /// </summary>
        public DateTime? PowerFactorTs { get; set; }

        /// <summary>
        /// 功率因数原始值
        /// </summary>
        public float? PowerFactorOrg { get; set; }

        /// <summary>
        /// 功率因数
        /// </summary>
        public string PowerFactor => PowerFactorOrg?.ToString();

        /// <summary>
        /// 频率时间戳
        /// </summary>
        public DateTime? FrequencyTs { get; set; }

        /// <summary>
        /// 频率原始值
        /// </summary>
        public float? FrequencyOrg { get; set; }

        /// <summary>
        /// 频率
        /// </summary>
        public string Frequency => FrequencyOrg?.ToString();

        /// <summary>
        /// 启动空气压力时间戳
        /// </summary>
        public DateTime? StartUpAirPresTs { get; set; }

        /// <summary>
        /// 启动空气压力Td原始值
        /// </summary>
        public float? StartUpAirPresOrg { get; set; }

        /// <summary>
        /// 启动空气压力
        /// </summary>
        public string StartUpAirPres => StartUpAirPresOrg?.ToString();


        /// <summary>
        /// 涡轮排气出口温度时间戳
        /// </summary>
        public DateTime? TurboExhaustOutTempTs { get; set; }

        /// <summary>
        /// 涡轮排气出口温度Td原始值
        /// </summary>
        public float? TurboExhaustOutTempOrg { get; set; }

        /// <summary>
        /// 涡轮排气出口温度
        /// </summary>
        public string TurboExhaustOutTemp => TurboExhaustOutTempOrg?.ToString();

        /// <summary>
        /// 排气平均温度时间戳
        /// </summary>
        public DateTime? ExhaustAvgTempTs { get; set; }

        /// <summary>
        /// 排气平均温度Td原始值
        /// </summary>
        public float? ExhaustAvgTempOrg { get; set; }

        /// <summary>
        /// 排气平均温度
        /// </summary>
        public string ExhaustAvgTemp => ExhaustAvgTempOrg?.ToString();

        /// <summary>
        /// RPH线圈温度时间戳
        /// </summary>
        public DateTime? RphCoilTempTs { get; set; }

        /// <summary>
        /// RPH线圈温度Td原始值
        /// </summary>
        public float? RphCoilTempOrg { get; set; }

        /// <summary>
        /// RPH线圈温度
        /// </summary>
        public string RphCoilTemp => RphCoilTempOrg?.ToString();

        /// <summary>
        /// SPH线圈温度时间戳
        /// </summary>
        public DateTime? SphCoilTempTs { get; set; }

        /// <summary>
        /// SPH线圈温度Td原始值
        /// </summary>
        public float? SphCoilTempOrg { get; set; }

        /// <summary>
        /// SPH线圈温度
        /// </summary>
        public string SphCoilTemp => SphCoilTempOrg?.ToString();

        /// <summary>
        /// TPH线圈温度时间戳
        /// </summary>
        public DateTime? TphCoilTempTs { get; set; }

        /// <summary>
        /// TPH线圈温度Td原始值
        /// </summary>
        public float? TphCoilTempOrg { get; set; }

        /// <summary>
        /// TPH线圈温度
        /// </summary>
        public string TphCoilTemp => TphCoilTempOrg?.ToString();


    }


}
